<script setup>
import { ref } from "vue";
import Son from "@/components/Son.vue";

const var1 = ref("大傻逼张亮");
</script>

<template>
  <div class="app">
    <Son v-model="var1" />
    <p>123</p>
  </div>
</template>

<style scoped lang="scss">
p {
  background-color: red;
  width: 187px;
}
</style>
